package com.atguigu.interview.study.circulardepend.constructorinjection;

import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

/**
 * @author gcq
 * @Create 2020-12-09
 */
@Component
public class ServiceA {
    private ServiceB serviceB;

    public ServiceA(ServiceB serviceb) {
        this.serviceB = serviceb;
    }
}